package deng.service.util;

import java.util.Arrays;

public class Utils {

	public static void sleep(long millis) {
		try {
			Thread.sleep(millis);
		} catch (InterruptedException e) {
			throw new RuntimeException(e);
		}
	}
	
	public static String arrayToString(String name, Object[] array) {
		return name + "[len=" + array.length + ", " + Arrays.asList(array) + "]";
	}

}
